package com.yf.enums;

import lombok.Getter;

@Getter
public enum MsgTypeEnum {

    TEXT(0,"文本"),IMG(1,"图片"),VOICE(2,"语音"),MEDIA(3,"视频"),CONNECT(4,"连接"),KEEPALIVE(5,"心跳"),FRIEND(6,"好友");

    MsgTypeEnum(Integer state,String info){
        this.state = state;
        this.info = info;
    }

    private Integer state;

    private String info;

}
